<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ShippingPay extends Model
{
    protected $table = 'v_shipping_pay';

    /**
     * 不可批量赋值的属性
     * @var array
     */
    protected $guarded = ['id'];

    // 支付状态
    const STATUS_WAIT = 0;
    const STATUS_PAYED = 10;

    // 运费支付状态
    public static $statusDesc = [
        self::STATUS_WAIT  => '待支付',
        self::STATUS_PAYED => '已支付',
    ];
}
